package net.mingsoft.dashboard.dao;

import net.mingsoft.dashboard.action.r.MyContactDetailResponse;
import net.mingsoft.people.entity.PeopleEntity;
import org.apache.ibatis.annotations.Param;

/**
 * @author gengfa
 * @date 22/03/05
 */
public interface ContactDao {
    MyContactDetailResponse selectByManagerId(long id);
    int updateEmailById(@Param("id") long id, @Param("email") String email);
    int updateMobileById(@Param("id") long id, @Param("mobile") String mobile);
    int selectPeopleId(@Param("id") long id);
    int insertPeople(PeopleEntity entity);
    int updateManager(@Param("id") long id, @Param("peopleId") long peopleId);
}
